package com.topnav.mc.admin.entity.param;

import com.topnav.mc.admin.entity.DeviceOnlineTotal;
import lombok.Data;

import java.util.Date;

/**
 * @Author: kenny
 * @Date: 2023/10/31 15:20
 */
@Data
public class DeviceOnlineTotalParam extends DeviceOnlineTotal {
    //startTime endTime 加了 @JsonFormat( 就不能再做端的参数传进来，会报错：deserialize value of type `java.util.Date` from String "2023-10-24T16:00:00.000Z": expected format "yyyy-MM-dd HH:mm:ss"; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException:
    //Cannot deserialize value of type `java.util.Date` from String "2023-10-24T16:00:00.000Z": expected format "yyyy-MM-dd HH:mm:ss"
    //所以加两个来接收 参数
    private Date fromTime;
    private Date toTime;

    private Long orgId;
    private Long userId;


}
